﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="editpaper.aspx.cs" Inherits="OnlineTestUI.BackManager.editpaper" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <%foreach (var item in pqeList)
                              {
                                  switch (item.QuestionTypeId)
                                  {
                                      case 1:%><div style="visibility: visible;" tabindex="-1" class="div_question div_question_mouseout">
                                      <div class="div_preview">
                                          <div class="div_title_question_all">
                                              <div class="div_topic_question">1.</div>
                                              <div class="div_title_question"><span><%=item.QuestionName%></span></div>
                                              <div style="clear: both;"></div>
                                          </div>
                                          <div class="div_table_radio_question">
                                              <div class="div_table_clear_top"></div>
                                              <ul>
                                                  <%foreach (var questionItem in qib.GetModelList("questionid =" + item.QuestionId))
                                                    {%><li style="width: 99%;">
                                  <input type="radio"><%=questionItem.ItemName%></li>
                                                  <%
                                                    }%>

                                                  <div style="clear: both;"></div>
                                              </ul>
                                              <div class="div_table_clear_bottom"></div>
                                          </div>
                                          <div class="div_ins_question"></div>
                                          <div class="spanLeft" style="height: 18px;">
                                              <div style="clear: none; display: none;" class="div_ins_question spanLeft">*此题设置了跳转逻辑</div>
                                              <div style="clear: none; display: none;" class="div_ins_question spanLeft"></div>
                                          </div>
                                          <div style="clear: none; display: none;" class="div_ins_question spanLeft"><a href="javascript:void(0);" onclick="insertQ(curover);" class="a555" style="text-decoration: underline;">在此题后插入新题</a></div>
                                          <div style="clear: none;" class="spanRight">
                                              <ul class="stuff">
                                                  <li><a href="javascript:void(0);" onclick="editQ(this);" title="您也可以双击题目来进行编辑"><span class="design-icon design-edit"></span><span>编辑</span></a></li>
                                                  <li><a href="javascript:void(0);" onclick="curover.copyQ();" title="复制此题"><span class="design-icon design-copy"></span><span>复制</span></a></li>
                                                  <li><a href="javascript:void(0);" onclick="curover.deleteQ();" title="删除此题"><span class="design-icon design-delete"></span><span>删除</span></a></li>
                                                  <li><a href="javascript:void(0);" onclick="curover.moveUp();" title="将此题上移"><span class="design-icon design-up"></span><span>上移</span></a></li>
                                                  <li><a href="javascript:void(0);" onclick="curover.moveDown();" title="将此题下移"><span class="design-icon design-down"></span><span>下移</span></a></li>
                                                  <li><a href="javascript:void(0);" onclick="curover.moveFirst();" title="将此题移动到第一题"><span class="design-icon design-first"></span><span>最前</span></a></li>
                                                  <li><a href="javascript:void(0);" onclick="curover.moveLast();" title="将此题移动到最后一题"><span class="design-icon design-last"></span><span>最后</span></a></li>
                                                  <div style="clear: both;"></div>
                                              </ul>
                                          </div>
                                          <div style="clear: both;"></div>
                                      </div>
                                  </div>
            <%; break;
                                      case 2:%><div style="visibility: visible;" tabindex="-1" class="div_question div_question_mouseout">
                <div class="div_preview">
                    <div class="div_title_question_all">
                        <div class="div_topic_question">1.</div>
                        <div class="div_title_question"><span><%=item.QuestionName%></span></div>
                        <div style="clear: both;"></div>
                    </div>

                    <div class="div_ins_question"></div>
                    <div class="spanLeft" style="height: 18px;">
                        <div style="clear: none; display: none;" class="div_ins_question spanLeft">*此题设置了跳转逻辑</div>
                        <div style="clear: none; display: none;" class="div_ins_question spanLeft"></div>
                    </div>
                    <div style="clear: none; display: none;" class="div_ins_question spanLeft"><a href="javascript:void(0);" onclick="insertQ(curover);" class="a555" style="text-decoration: underline;">在此题后插入新题</a></div>
                    <div style="clear: none;" class="spanRight">
                        <ul class="stuff">
                            <li><a href="javascript:void(0);" onclick="editQ(this);" title="您也可以双击题目来进行编辑"><span class="design-icon design-edit"></span><span>编辑</span></a></li>
                            <li><a href="javascript:void(0);" onclick="curover.copyQ();" title="复制此题"><span class="design-icon design-copy"></span><span>复制</span></a></li>
                            <li><a href="javascript:void(0);" onclick="curover.deleteQ();" title="删除此题"><span class="design-icon design-delete"></span><span>删除</span></a></li>
                            <li><a href="javascript:void(0);" onclick="curover.moveUp();" title="将此题上移"><span class="design-icon design-up"></span><span>上移</span></a></li>
                            <li><a href="javascript:void(0);" onclick="curover.moveDown();" title="将此题下移"><span class="design-icon design-down"></span><span>下移</span></a></li>
                            <li><a href="javascript:void(0);" onclick="curover.moveFirst();" title="将此题移动到第一题"><span class="design-icon design-first"></span><span>最前</span></a></li>
                            <li><a href="javascript:void(0);" onclick="curover.moveLast();" title="将此题移动到最后一题"><span class="design-icon design-last"></span><span>最后</span></a></li>
                            <div style="clear: both;"></div>
                        </ul>
                    </div>
                    <div style="clear: both;"></div>
                </div>
            </div>
            <%; break;
                                      case 3:%><div style="visibility: visible;" tabindex="-1" class="div_question div_question_mouseout">
                <div class="div_preview">
                    <div class="div_title_question_all">
                        <div class="div_topic_question">1.</div>
                        <div class="div_title_question"><span><%=item.QuestionName%></span></div>
                        <div style="clear: both;"></div>
                    </div>

                    <div class="div_ins_question"></div>
                    <div class="spanLeft" style="height: 18px;">
                        <div style="clear: none; display: none;" class="div_ins_question spanLeft">*此题设置了跳转逻辑</div>
                        <div style="clear: none; display: none;" class="div_ins_question spanLeft"></div>
                    </div>
                    <div style="clear: none; display: none;" class="div_ins_question spanLeft"><a href="javascript:void(0);" onclick="insertQ(curover);" class="a555" style="text-decoration: underline;">在此题后插入新题</a></div>
                    <div style="clear: none;" class="spanRight">
                        <ul class="stuff">
                            <li><a href="javascript:void(0);" onclick="editQ(this);" title="您也可以双击题目来进行编辑"><span class="design-icon design-edit"></span><span>编辑</span></a></li>
                            <li><a href="javascript:void(0);" onclick="curover.copyQ();" title="复制此题"><span class="design-icon design-copy"></span><span>复制</span></a></li>
                            <li><a href="javascript:void(0);" onclick="curover.deleteQ();" title="删除此题"><span class="design-icon design-delete"></span><span>删除</span></a></li>
                            <li><a href="javascript:void(0);" onclick="curover.moveUp();" title="将此题上移"><span class="design-icon design-up"></span><span>上移</span></a></li>
                            <li><a href="javascript:void(0);" onclick="curover.moveDown();" title="将此题下移"><span class="design-icon design-down"></span><span>下移</span></a></li>
                            <li><a href="javascript:void(0);" onclick="curover.moveFirst();" title="将此题移动到第一题"><span class="design-icon design-first"></span><span>最前</span></a></li>
                            <li><a href="javascript:void(0);" onclick="curover.moveLast();" title="将此题移动到最后一题"><span class="design-icon design-last"></span><span>最后</span></a></li>
                            <div style="clear: both;"></div>
                        </ul>
                    </div>
                    <div style="clear: both;"></div>
                </div>
            </div>
            <%; break;
                                      case 4:%><div style="visibility: visible;" tabindex="-1" class="div_question div_question_mouseout">
                <div class="div_preview">
                    <div class="div_title_question_all">
                        <div class="div_topic_question">1.</div>
                        <div class="div_title_question"><span><%=item.QuestionName%></span></div>
                        <div style="clear: both;"></div>
                    </div>

                    <div class="div_ins_question"></div>
                    <div class="spanLeft" style="height: 18px;">
                        <div style="clear: none; display: none;" class="div_ins_question spanLeft">*此题设置了跳转逻辑</div>
                        <div style="clear: none; display: none;" class="div_ins_question spanLeft"></div>
                    </div>
                    <div style="clear: none; display: none;" class="div_ins_question spanLeft"><a href="javascript:void(0);" onclick="insertQ(curover);" class="a555" style="text-decoration: underline;">在此题后插入新题</a></div>
                    <div style="clear: none;" class="spanRight">
                        <ul class="stuff">
                            <li><a href="javascript:void(0);" onclick="editQ(this);" title="您也可以双击题目来进行编辑"><span class="design-icon design-edit"></span><span>编辑</span></a></li>
                            <li><a href="javascript:void(0);" onclick="curover.copyQ();" title="复制此题"><span class="design-icon design-copy"></span><span>复制</span></a></li>
                            <li><a href="javascript:void(0);" onclick="curover.deleteQ();" title="删除此题"><span class="design-icon design-delete"></span><span>删除</span></a></li>
                            <li><a href="javascript:void(0);" onclick="curover.moveUp();" title="将此题上移"><span class="design-icon design-up"></span><span>上移</span></a></li>
                            <li><a href="javascript:void(0);" onclick="curover.moveDown();" title="将此题下移"><span class="design-icon design-down"></span><span>下移</span></a></li>
                            <li><a href="javascript:void(0);" onclick="curover.moveFirst();" title="将此题移动到第一题"><span class="design-icon design-first"></span><span>最前</span></a></li>
                            <li><a href="javascript:void(0);" onclick="curover.moveLast();" title="将此题移动到最后一题"><span class="design-icon design-last"></span><span>最后</span></a></li>
                            <div style="clear: both;"></div>
                        </ul>
                    </div>
                    <div style="clear: both;"></div>
                </div>
            </div>
            <%; break;
                                  }
                              }%>
        </div>
    </form>
</body>
</html>
